package com.showde.shoppingmall.domain;

import java.io.Serializable;
import java.util.Arrays;

/**
 * 商品描述信息
 * 
 * @author Kim
 * 
 */
public class ProductDescription implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7284339573163222995L;

	private boolean isOutOfStack; // 是否下架
	private String[] allColors; // 商品所有颜色
	private String[] availableColors;// 可用颜色
	private float[] allSize;// 所有尺码
	private float[] availableSize; // 可用尺码
	private float price;// 商品价格
	private float sale; // 商品折扣
	private String[] productImageUrls; // 商品图片
	private String productDesc; // 商品描述
	private float postfee; // 邮费

	private String productID;

	public ProductDescription() {
		super();
	}

	public boolean isOutOfStack() {
		return isOutOfStack;
	}

	public void setOutOfStack(boolean isOutOfStack) {
		this.isOutOfStack = isOutOfStack;
	}

	public String[] getAllColors() {
		return allColors;
	}

	public void setAllColors(String[] allColors) {
		this.allColors = allColors;
	}

	public String[] getAvailableColors() {
		return availableColors;
	}

	public void setAvailableColors(String[] availableColors) {
		this.availableColors = availableColors;
	}

	public float[] getAllSize() {
		return allSize;
	}

	public void setAllSize(float[] allSize) {
		this.allSize = allSize;
	}

	public float[] getAvailableSize() {
		return availableSize;
	}

	public void setAvailableSize(float[] availableSize) {
		this.availableSize = availableSize;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public float getSale() {
		return sale;
	}

	public void setSale(float sale) {
		this.sale = sale;
	}

	public String[] getProductImageUrls() {
		return productImageUrls;
	}

	public void setProductImageUrls(String[] productImageUrls) {
		this.productImageUrls = productImageUrls;
	}

	public String getProductDesc() {
		return productDesc;
	}

	public void setProductDesc(String productDesc) {
		this.productDesc = productDesc;
	}

	public float getPostfee() {
		return postfee;
	}

	public void setPostfee(float postfee) {
		this.postfee = postfee;
	}

	public String getProductID() {
		return productID;
	}

	public void setProductID(String productID) {
		this.productID = productID;
	}

	@Override
	public String toString() {
		return "ProductDescription [isOutOfStack=" + isOutOfStack
				+ ", allColors=" + Arrays.toString(allColors)
				+ ", availableColors=" + Arrays.toString(availableColors)
				+ ", allSize=" + Arrays.toString(allSize) + ", availableSize="
				+ Arrays.toString(availableSize) + ", price=" + price
				+ ", sale=" + sale + ", productImageUrls="
				+ Arrays.toString(productImageUrls) + ", productDesc="
				+ productDesc + ", postfee=" + postfee + ", productID="
				+ productID + "]";
	}

}
